package com.kuishen.web.controller;

import com.kuishen.moudule.User;
import com.kuishen.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("user")
public class UserController {

    @Autowired
    UserService userService;

    @RequestMapping("login")
    public  String sss(){
         User user=userService.findByid(1);

        System.out.println("sssssssssssssssssssssssssssssssssssssssssssssss");
        return "sss";
    }
    @RequestMapping("login1")
    public  String sxx(){
        System.out.println("sss");

        return "sss";
    }
}
